<template>
    <div class="container">
        <div class="title">{{ title }}</div>
        <div class="main">
            <slot></slot>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    title: {
        type: String,
        default: '标题'
    }
})
</script>

<style lang="less" scoped>
.container {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: var(--split-line);

    .title {
        font-size: 16px;
        font-weight: 700;
    }
    .main{
        margin-top: 10px;
    }
}
</style>